package com.handpay.nocardpay.baselibrary.main.mine.model.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.handpay.nocardpay.baselibrary.commbase.model.bean.BaseResponseBean;

/**
 * Created by sxshi on 2017/8/15.
 */

public class MerchInfo extends BaseResponseBean implements Parcelable {
    private String areaId;
    private String areaName;
    private String bankCode;
    private String bankName;
    private String cardNum;
    private String certNo;
    private String name;
    private String phone;
    private String provinceId;
    private String provinceName;
    private String shopName;
    private String status;
    private String subBankCode;
    private String subBranchName;
    private String failDescpriction;

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSubBankCode() {
        return subBankCode;
    }

    public void setSubBankCode(String subBankCode) {
        this.subBankCode = subBankCode;
    }

    public String getSubBranchName() {
        return subBranchName;
    }

    public void setSubBranchName(String subBranchName) {
        this.subBranchName = subBranchName;
    }

    public String getFailDescpriction() {
        return failDescpriction;
    }

    public void setFailDescpriction(String failDescpriction) {
        this.failDescpriction = failDescpriction;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.areaId);
        dest.writeString(this.areaName);
        dest.writeString(this.bankCode);
        dest.writeString(this.bankName);
        dest.writeString(this.cardNum);
        dest.writeString(this.certNo);
        dest.writeString(this.name);
        dest.writeString(this.phone);
        dest.writeString(this.provinceId);
        dest.writeString(this.provinceName);
        dest.writeString(this.shopName);
        dest.writeString(this.status);
        dest.writeString(this.subBankCode);
        dest.writeString(this.subBranchName);
        dest.writeString(this.failDescpriction);
    }

    public MerchInfo() {
    }

    protected MerchInfo(Parcel in) {
        this.areaId = in.readString();
        this.areaName = in.readString();
        this.bankCode = in.readString();
        this.bankName = in.readString();
        this.cardNum = in.readString();
        this.certNo = in.readString();
        this.name = in.readString();
        this.phone = in.readString();
        this.provinceId = in.readString();
        this.provinceName = in.readString();
        this.shopName = in.readString();
        this.status = in.readString();
        this.subBankCode = in.readString();
        this.subBranchName = in.readString();
        this.failDescpriction = in.readString();
    }

    public static final Parcelable.Creator<MerchInfo> CREATOR = new Parcelable.Creator<MerchInfo>() {
        @Override
        public MerchInfo createFromParcel(Parcel source) {
            return new MerchInfo(source);
        }

        @Override
        public MerchInfo[] newArray(int size) {
            return new MerchInfo[size];
        }
    };

    @Override
    public String toString() {
        return "MerchInfo{" +
                "areaId='" + areaId + '\'' +
                ", areaName='" + areaName + '\'' +
                ", bankCode='" + bankCode + '\'' +
                ", bankName='" + bankName + '\'' +
                ", cardNum='" + cardNum + '\'' +
                ", certNo='" + certNo + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", provinceId='" + provinceId + '\'' +
                ", provinceName='" + provinceName + '\'' +
                ", shopName='" + shopName + '\'' +
                ", status='" + status + '\'' +
                ", subBankCode='" + subBankCode + '\'' +
                ", subBranchName='" + subBranchName + '\'' +
                ", failDescpriction='" + failDescpriction + '\'' +
                '}';
    }
}
